﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;

namespace Hugo.UIOptions
{
    class SkypeCallUIOption : UIOption
    {

        private String displayName;

        public SkypeCallUIOption(String displayName, String name, BitmapSource iconSource) : base(name,iconSource,false)
        {
            this.displayName = displayName;
        }

        public override void wasSelected()
        {
            Sounds.speakMessage("Calling " + this.displayName);
            Communicate.getInstance().doMakeCall(this.displayName);
        }
    }
}
